//
//  ReportBasicModel.h
//  efairy
//
//  Created by 李锋 on 2019/3/13.
//  Copyright © 2019年 East. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YYModel.h"

NS_ASSUME_NONNULL_BEGIN

//评分统计
@interface ReportScoreStatistics : NSObject
@property (nonatomic, strong) NSString *average_score;
@property (nonatomic, strong) NSString *highest_score;
@property (nonatomic, strong) NSString *lowest_score;
@end

//报表项目统计
@interface ReportProjectStatistics : NSObject
@property (nonatomic, strong) NSString *total_alarm_device_rows;
@property (nonatomic, strong) NSString *total_device_rows;
@property (nonatomic, strong) NSString *total_early_warning_device_rows;
@property (nonatomic, strong) NSString *total_project_rows;
@property (nonatomic, strong) NSString *total_trouble_device_rows;
@end

@interface ReportBasicModel : NSObject<YYModel>
@property (nonatomic, strong) NSString *efairyreport_endtime;
@property (nonatomic, strong) ReportProjectStatistics  *efairyreport_project_statistics;
@property (nonatomic, strong) ReportScoreStatistics *efairyreport_score_statistics;
@property (nonatomic, strong) NSString *efairyreport_starttime;
@property (nonatomic, strong) NSString *efairyreport_title;
@property (nonatomic, strong) NSString *efairyreport_uuid;
@end

NS_ASSUME_NONNULL_END
